class giri1
 {

	public static void main(String[] args)
 {


// sum of array Elements		
		int[] a = {1,1,1,1,1,1,1,1,1,1};
		System.out.println("\n\nSum of Array elements is: \n\n" + Calci1.SumOfArray(a));
	
//Random integer Array	
		System.out.println("\n\n Integer Array of 10 num's ");
		Calci1.printInt(Calci1.randomInt(10));
		System.out.println("\n\nSum of Array elements is:\n " + Calci1.SumOfArray(Calci1.randomInt(10)));
		
//Random integer double		
		System.out.println("\n\n Double Array of 10 num's\n ");
		Calci1.printDouble(Calci1.randomDouble(10));
		
//Random integer Char
		System.out.println("\n\n Char Array of 10 num's \n");
		Calci1.printChar(Calci1.randomChar(10));
		
		
//max in an array
			int[] array=Calci1.randomInt(10);
			int max = Calci1.maxArray(array);
			
			System.out.println("\n\nMax in Array\n"); 
			Calci1.printInt(array);
			System.out.println("is : \n" + max);

// reverse an integer array
			System.out.println("\n Int Array");
			Calci1.printInt(array);
			int[] rev = Calci1.revInt(array);
			System.out.println("\n\n Reversed int array is:\n"); 
			Calci1.printInt(rev);
			
// reverse an Char array			
			
			char[] array1 =  Calci1.randomChar(10);
			System.out.println("\n\n Char Array\n");
			Calci1.printChar(array1);
			char[] rev1 = Calci1.revChar(array1);
			
			System.out.println("\n\n Reversed Char array is:\n"); 
			Calci1.printChar(rev1);
//Count num of vowels

			char[] array2 =  Calci1.randomChar(10);
			System.out.println("\n Char Array\n");
			Calci1.printChar(array2);
			int count = Calci1.countVowel(array2);
			System.out.println("\n No of Vowels is :\n" + count);
			
//Generate even num's between to and from
		System.out.println("\nGenerate even num's between to and from\n");
		int[] even = Calci1.generateEven(10,50);
		Calci1.printInt(even);

//Generate Odd num's between to and from
		System.out.println("\nGenerate Odd num's between to and from\n");
		int[] odd = Calci1.generateOdd(10,50);
		Calci1.printInt(odd);

//Generate Prime num's between to and from
		System.out.println("\n\nGenerate Prime num's between to and from\n");
		int[] prime = Calci1.generatePrime(0,50);
		Calci1.printInt(prime);



//Fibonacci using array

		int[] fib = Calci1.generateFibonacci(10);
		System.out.println("\n\nFibbonacci series are");
		Calci1.printInt(fib);		

		
}

}